<ul class="listeecuries">
<?php
	foreach($this->ecuries as $ecurie)
	{
		if($ecurie->getEcuNum()!=$this->id)
		{
			echo "<li><a href=\"".$this->url(array('id'=>$ecurie->getEcuNum()),'ecurieshow')."\">".$ecurie->getEcuNom()."</a><img src=\"".$this->url(array('path'=>urlencode($this->serverUrl().$this->baseUrl()."/images/pays/".$ecurie->getPays()->getPayAdrDrap()),'width'=>32,'height'=>32),'thumb')."\" alt=\"".$ecurie->getPays()->getPayNom()."\"/></li>";
		}
		else
		{
			echo "<li class='current'><a href=\"".$this->url(array('id'=>$ecurie->getEcuNum()),'ecurieshow')."\">".$ecurie->getEcuNom()."</a><img src=\"".$this->url(array('path'=>urlencode($this->serverUrl().$this->baseUrl()."/images/pays/".$ecurie->getPays()->getPayAdrDrap()),'width'=>32,'height'=>32),'thumb')."\" alt=\"".$ecurie->getPays()->getPayNom()."\"/></li>";
		}
	}
?>
</ul>